package com.lrc.dentalbackend.domain.vo;

import com.lrc.dentalbackend.domain.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserVO {
    private Long id;
    private String username;
    private String picture;


    public UserVO(User user){
        this.id = user.getId();
        this.username = user.getUsername();
        this.picture = user.getPicture();
    }

}
